package com.example.microservices.logistics.service;

import com.example.microservices.logistics.model.Shipment;
import java.util.List;

public interface ShipmentService {
    List<Shipment> findAllShipments();
    Shipment findShipmentById(Long id);
    List<Shipment> findShipmentsByOrderId(Long orderId);
    Shipment findShipmentByTrackingNumber(String trackingNumber);
    Shipment createShipment(Shipment shipment);
    Shipment updateShipment(Long id, Shipment shipment);
    void deleteShipment(Long id);
    Shipment updateShipmentStatus(Long id, String status);
    String trackShipment(String trackingNumber);
} 